package com.lucky.ebidding.service.interfaces;

import com.lucky.ebidding.dto.UserAndUserSh;
import com.lucky.ebidding.model.User;
import com.lucky.ebidding.model.UserShInfo;

import java.util.List;

/**
 * ClassName:UserServiceI
 * Package:com.lucky.ebidding.service
 * Description:
 *
 * @Date:2020/3/14 21:31
 * @Author:857251389@qq.com
 */
public interface UserServiceI {
    User login(String account,String password);

    boolean register(User user);

    void updateUserShInfo(UserShInfo userShInfo);

    UserShInfo selectUserShInfoByUserId(Integer id);

    List<UserAndUserSh> selectAllZbUser(Integer status);

    List<User> selectAllUser();

    int shStatus(User user);

    int setStatus(Integer status, Integer id,User user);
}
